{"id":12833,"date":"2018-09-26T14:00:17","date_gmt":"2018-09-26T14:00:17","guid":{"rendered":"https:\/\/www.gravityforms.com\/?p=12833"},"modified":"2021-05-10T20:13:07","modified_gmt":"2021-05-11T00:13:07","slug":"paypal-payments-wordpress-forms","status":"publish","type":"post","link":"https:\/\/www.gravityforms.com\/paypal-payments-wordpress-forms\/","title":{"rendered":"Accepting PayPal Payments in Your WordPress Forms"},"content":{"rendered":"<p style=\"text-align: center;\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-12663\" src=\"https:\/\/www.gravityforms.com\/wp-content\/uploads\/2017\/08\/paypal_payments_std-1.png\" alt=\"\" width=\"650\" height=\"300\" srcset=\"https:\/\/www.gravityforms.com\/wp-content\/uploads\/2017\/08\/paypal_payments_std-1.png 650w, https:\/\/www.gravityforms.com\/wp-content\/uploads\/2017\/08\/paypal_payments_std-1-300x138.png 300w, https:\/\/www.gravityforms.com\/wp-content\/uploads\/2017\/08\/paypal_payments_std-1-130x60.png 130w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/p>\n<p>At times, setting up a quick and simple form for receiving PayPal payments on your WordPress site is far easier than a full e-commerce solution. While full solutions offer things such as inventory management and a deeper checkout process, it's often overkill to deploy a large-scale solution for just a few items.<\/p>\n<p><!--more--><\/p>\n<p>Using a form on your WordPress site is also beneficial if you have advanced product configurations or a complex order process. For example, if you have a product with hundreds of different configuration options, using a form like a <a href=\"https:\/\/topitoffhatco.com\/shop\/custom-builder\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">custom hat configuration tool<\/a>\u00a0(Yup! That's powered by Gravity Forms!), you might find that using a WordPress form builder to be a much better option.<\/p>\n<h2>Building a Basic Payment Form<\/h2>\n<p style=\"text-align: center;\"><img loading=\"lazy\" class=\"aligncenter wp-image-12849 size-full\" src=\"https:\/\/www.gravityforms.com\/wp-content\/uploads\/2018\/09\/create-wordpress-payment-form.gif\" alt=\"\" width=\"1894\" height=\"1200\" \/><\/p>\n<p>Before you can start taking PayPal payments from your forms, you'll need to build it first. Of course, if you have already built your form and just need to set up PayPal, feel free to skip to the next section. If you're following along, here's what you'll need:<\/p>\n<ul>\n<li>A WordPress site.<\/li>\n<li>A PayPal account.<\/li>\n<li><a href=\"https:\/\/www.gravityforms.com\/pricing\/\">Gravity Forms<\/a>.<\/li>\n<li>The <a href=\"https:\/\/www.gravityforms.com\/add-ons\/paypal\/\">PayPal Payments Standard<\/a> or <a href=\"https:\/\/www.gravityforms.com\/add-ons\/paypal-payments-pro\/\">PayPal Payments Pro<\/a> add-on for Gravity Forms.<\/li>\n<\/ul>\n<p>Got it? Awesome! Let's get started:<\/p>\n<ol>\n<li>Begin by creating a new form within Gravity Forms. This is done by clicking on\u00a0<strong>Forms<\/strong> on the left-hand side of your WordPress admin and then clicking on\u00a0<strong>Add New<\/strong>. Name your form and click the\u00a0<strong>Create Form<\/strong> button.<\/li>\n<li>The first field you'll need is the\u00a0<em>Product<\/em> field. On the right side of the form editor, open the <strong>Pricing Fields<\/strong> section, then click on the\u00a0<strong>Product<\/strong> field button to add the field to your form.<\/li>\n<li>Next, you'll need a\u00a0<em>Total<\/em> field for PayPal to read the payment total from. Inside the\u00a0same\u00a0<em>Pricing Fields<\/em> section, click on the\u00a0<strong>Total<\/strong> field button to add the field to your form.<\/li>\n<\/ol>\n<p>You've now created a basic payment form! Of course, we've left out things such as quantities and product options for the sake of simplicity, but we'll go over those a bit later.<\/p>\n<h2>Configuring PayPal Settings<\/h2>\n<p style=\"text-align: center;\"><img loading=\"lazy\" class=\"aligncenter wp-image-12850 size-full\" title=\"WordPress PayPal Form Payments Feed Settings\" src=\"https:\/\/www.gravityforms.com\/wp-content\/uploads\/2018\/09\/paypal-payment-forms-feed-settings.png\" alt=\"WordPress PayPal Form Payments Feed Settings\" width=\"605\" height=\"625\" srcset=\"https:\/\/www.gravityforms.com\/wp-content\/uploads\/2018\/09\/paypal-payment-forms-feed-settings.png 605w, https:\/\/www.gravityforms.com\/wp-content\/uploads\/2018\/09\/paypal-payment-forms-feed-settings-290x300.png 290w, https:\/\/www.gravityforms.com\/wp-content\/uploads\/2018\/09\/paypal-payment-forms-feed-settings-45x45.png 45w\" sizes=\"(max-width: 605px) 100vw, 605px\" \/><\/p>\n<p>If you've been following along, you've created a form that will allow you to sell products using any of the payment add-ons available for Gravity Forms. Next, you'll need to set up the payment gateway that will be handling the payments when the form is submitted. In this case, that payment gateway would be PayPal.<\/p>\n<ol>\n<li>From within the form editor on your newly created payment form, look to the top menu and hover over\u00a0<strong>Form Settings<\/strong>, then click on\u00a0<strong>PayPal<\/strong>. This will open the\u00a0<em>Feed Settings<\/em> for the PayPal add-on.<\/li>\n<li>Next, you'll need to create a new feed for the PayPal add-on. To do so, click on the\u00a0<strong>Add New<\/strong> button.<\/li>\n<li>You'll now be presented with the settings for your new PayPal feed. The first setting you'll want to put in place is the\u00a0<strong>Feed Name<\/strong>. Inside this setting, enter a name for your newly created feed. Don't worry too much about the name, it's just for you to be able to identify it later if you need to change something.<\/li>\n<li>The next setting you'll need to input is the email address associated with your PayPal account. Simply enter that email address into the\u00a0<strong>PayPal Email Address<\/strong> field.<\/li>\n<li>We typically advise that you test your payment forms before taking any sort of live payments. If you want to test the form before running real transactions through it, select\u00a0<strong>Test<\/strong> within the\u00a0<strong>Mode<\/strong> setting.<\/li>\n<li>Finally, set the field that holds your total payment amount by selecting it in the\u00a0<strong>Payment Amount<\/strong> setting. If you already have a\u00a0<em>Total<\/em> field on the form you're configuring, it should already be set to that field. If not, you may need to adjust it to reflect your individual needs.<\/li>\n<\/ol>\n<p>Once you've made your changes, be sure to save your feed. There are other options available when taking payments via PayPal, but for the sake of simplicity, we've purposely left them out. If you would like more information on the various other fields that you can set when creating a PayPal feed, take a look at our article on <a href=\"https:\/\/docs.gravityforms.com\/create-feed-paypal-standard-add-on\/\">creating a feed for the PayPal add-on<\/a>.<\/p>\n<h2>Setting Up The PayPal IPN<\/h2>\n<p style=\"text-align: center;\"><img loading=\"lazy\" class=\"aligncenter size-full wp-image-12851\" src=\"https:\/\/www.gravityforms.com\/wp-content\/uploads\/2018\/09\/paypal-wordpress-forms-ipn-settings.png\" alt=\"WordPress Payment Forms PayPal IPN Settings\" width=\"1035\" height=\"532\" srcset=\"https:\/\/www.gravityforms.com\/wp-content\/uploads\/2018\/09\/paypal-wordpress-forms-ipn-settings.png 1035w, https:\/\/www.gravityforms.com\/wp-content\/uploads\/2018\/09\/paypal-wordpress-forms-ipn-settings-300x154.png 300w, https:\/\/www.gravityforms.com\/wp-content\/uploads\/2018\/09\/paypal-wordpress-forms-ipn-settings-768x395.png 768w, https:\/\/www.gravityforms.com\/wp-content\/uploads\/2018\/09\/paypal-wordpress-forms-ipn-settings-1024x526.png 1024w\" sizes=\"(max-width: 1035px) 100vw, 1035px\" \/><\/p>\n<p>In this article, we've covered how to create a form that takes PayPal payments as well as passing those form submissions over to PayPal to complete the transaction. But how does PayPal relay the transaction data back to your form to know that payment was completed? That's where the PayPal IPN settings come in.<\/p>\n<ol>\n<li>To configure your PayPal IPN, you'll first need to get your IPN URL from within Gravity Forms. To do so, navigate to the Gravity Forms PayPal add-on settings by clicking on the\u00a0<strong>Forms<\/strong> menu item in your WordPress admin, click on\u00a0<strong>Settings<\/strong>, then navigate to the\u00a0<strong>PayPal<\/strong> settings tab.<\/li>\n<li>Within the PayPal add-on settings, you'll notice a URL listed there. Copy this into somewhere you can remember it later, as you'll need to provide it to PayPal soon.<\/li>\n<li>While you're inside the PayPal add-on settings, select enable the\u00a0<strong>PayPal IPN Setting<\/strong> checkbox here as well. Don't forget to save your settings after you select it!<\/li>\n<li>Now that you have your IPN URL, you'll need to give it to PayPal. In a new tab, open the <a href=\"https:\/\/www.paypal.com\/us\/cgi-bin\/webscr?cmd=_profile-ipn-notify\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">PayPal IPN Settings<\/a> page, and click the\u00a0<strong>Choose IPN Settings<\/strong> button.<\/li>\n<li>Remember the URL that you copied on step 2? Paste it into the\u00a0<strong>Notification URL<\/strong>. Then, enable it using the\u00a0<strong>IPN Messages<\/strong> setting and save your changes.<\/li>\n<\/ol>\n<p>Congratulations! You've now established communication from PayPal to your site. Now that PayPal is able to communicate with your WordPress site, Gravity Forms will be able to determine if form payments are successful.<\/p>\n<h2>Additional Payment Form Settings<\/h2>\n<p>Remember earlier when we mentioned that there were additional settings that you could set such as quantities and product options? It's time to dig into those optional settings that will help you build the perfect payment form.<\/p>\n<h3>Standard Product Pricing<\/h3>\n<p>Inside Gravity Forms, most options are handled on a per-field level by clicking on the field in the form editor. The same goes for pricing fields. If you need to change the standard price of an item on your form, click on the field, then enter the amount into the\u00a0<strong>Price<\/strong> setting.<\/p>\n<h3>Adding Shipping Costs<\/h3>\n<p>If you're selling a physical product, you'll likely want to charge some sort of shipping cost. To do so, simply add the\u00a0<strong>Shipping<\/strong> field to your form (located inside the\u00a0<em>Pricing Fields<\/em> section of the form editor). Within the field settings, you can then set your shipping fees.<\/p>\n<h3>Disabling Quantity Fields<\/h3>\n<p>If you only sell single items and don't want the ability for people to set a quantity, you can disable the\u00a0<em>Quantity<\/em> section of the\u00a0<em>Product Field<\/em> by selecting the\u00a0<strong>Disable Quantity Field<\/strong> option in the field settings.<\/p>\n<h3>Allowing User-Defined Pricing<\/h3>\n<p>If you're doing something like taking donations on your forms, you might want to allow you users for set their own price when filling out your donation form. In that case, simply go to the settings on your\u00a0<em>Product Field<\/em> and change the\u00a0<strong>Field Type<\/strong> setting to\u00a0<strong>User-Defined Price<\/strong>. Setting this option will allow users to set their own price on submission.<\/p>\n<h2>Need More?<\/h2>\n<p>If you need more information on accepting PayPal payments using WordPress and Gravity Forms, feel free to browse our extensive <a href=\"https:\/\/docs.gravityforms.com\/category\/add-ons-gravity-forms\/paypal-payments-standard-add-on\/\">PayPal add-on documentation<\/a>\u00a0or leave a comment below.<\/p>\n<p>Do you have a unique use-case or want to show off your PayPal forms? Let us know! We love seeing all of the great things that people use Gravity Forms for!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>At times, setting up a quick and simple form for receiving PayPal payments on your WordPress site is far easier than a full e-commerce solution. While full solutions offer things such as inventory management and a deeper checkout process, it&#8217;s","protected":false},"author":204039,"featured_media":12663,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[221],"tags":[5081,5080],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v16.5 (Yoast SEO v16.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Use WordPress Forms to Accept PayPal Payments | Gravity Forms<\/title>\n<meta name=\"description\" content=\"These step-by-step instructions help you set up your WordPress forms so you can use them to accept PayPal payments on your site.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.gravityforms.com\/paypal-payments-wordpress-forms\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Accepting PayPal Payments in Your WordPress Forms\" \/>\n<meta property=\"og:description\" content=\"At times, setting up a quick and simple form for receiving PayPal payments on your WordPress site is far easier than a full e-commerce solution. While\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.gravityforms.com\/paypal-payments-wordpress-forms\/\" \/>\n<meta property=\"og:site_name\" content=\"Gravity Forms\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/GravityForms\" \/>\n<meta property=\"article:published_time\" content=\"2018-09-26T14:00:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-11T00:13:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.gravityforms.com\/wp-content\/uploads\/2017\/08\/paypal_payments_std-1.png\" \/>\n\t<meta property=\"og:image:width\" content=\"650\" \/>\n\t<meta property=\"og:image:height\" content=\"300\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@GravityForms\" \/>\n<meta name=\"twitter:site\" content=\"@GravityForms\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.gravityforms.com\/#organization\",\"name\":\"Gravity Forms\",\"url\":\"https:\/\/www.gravityforms.com\/\",\"sameAs\":[\"https:\/\/www.facebook.com\/GravityForms\",\"https:\/\/twitter.com\/GravityForms\"],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.gravityforms.com\/#logo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/www.gravityforms.com\/wp-content\/uploads\/2018\/06\/gravity_forms_logo.jpg\",\"contentUrl\":\"https:\/\/www.gravityforms.com\/wp-content\/uploads\/2018\/06\/gravity_forms_logo.jpg\",\"width\":268,\"height\":294,\"caption\":\"Gravity Forms\"},\"image\":{\"@id\":\"https:\/\/www.gravityforms.com\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.gravityforms.com\/#website\",\"url\":\"https:\/\/www.gravityforms.com\/\",\"name\":\"Gravity Forms\",\"description\":\"WordPress Contact Forms\",\"publisher\":{\"@id\":\"https:\/\/www.gravityforms.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/www.gravityforms.com\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.gravityforms.com\/paypal-payments-wordpress-forms\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/www.gravityforms.com\/wp-content\/uploads\/2017\/08\/paypal_payments_std-1.png\",\"contentUrl\":\"https:\/\/www.gravityforms.com\/wp-content\/uploads\/2017\/08\/paypal_payments_std-1.png\",\"width\":650,\"height\":300},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.gravityforms.com\/paypal-payments-wordpress-forms\/#webpage\",\"url\":\"https:\/\/www.gravityforms.com\/paypal-payments-wordpress-forms\/\",\"name\":\"How to Use WordPress Forms to Accept PayPal Payments | Gravity Forms\",\"isPartOf\":{\"@id\":\"https:\/\/www.gravityforms.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.gravityforms.com\/paypal-payments-wordpress-forms\/#primaryimage\"},\"datePublished\":\"2018-09-26T14:00:17+00:00\",\"dateModified\":\"2021-05-11T00:13:07+00:00\",\"description\":\"These step-by-step instructions help you set up your WordPress forms so you can use them to accept PayPal payments on your site.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.gravityforms.com\/paypal-payments-wordpress-forms\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.gravityforms.com\/paypal-payments-wordpress-forms\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.gravityforms.com\/paypal-payments-wordpress-forms\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Gravity Forms\",\"item\":\"https:\/\/www.gravityforms.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To\",\"item\":\"https:\/\/www.gravityforms.com\/category\/how-to\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Accepting PayPal Payments in Your WordPress Forms\"}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/www.gravityforms.com\/paypal-payments-wordpress-forms\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.gravityforms.com\/paypal-payments-wordpress-forms\/#webpage\"},\"author\":{\"@id\":\"https:\/\/www.gravityforms.com\/#\/schema\/person\/8b24a831453cc6d65a6546d612e84db1\"},\"headline\":\"Accepting PayPal Payments in Your WordPress Forms\",\"datePublished\":\"2018-09-26T14:00:17+00:00\",\"dateModified\":\"2021-05-11T00:13:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.gravityforms.com\/paypal-payments-wordpress-forms\/#webpage\"},\"wordCount\":1263,\"commentCount\":2,\"publisher\":{\"@id\":\"https:\/\/www.gravityforms.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.gravityforms.com\/paypal-payments-wordpress-forms\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.gravityforms.com\/wp-content\/uploads\/2017\/08\/paypal_payments_std-1.png\",\"keywords\":[\"payments\",\"paypal\"],\"articleSection\":[\"How To\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.gravityforms.com\/paypal-payments-wordpress-forms\/#respond\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.gravityforms.com\/#\/schema\/person\/8b24a831453cc6d65a6546d612e84db1\",\"name\":\"Jeff Matson\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.gravityforms.com\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/358414d5ccd2f8c8818920cd8e9a3e7a?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/358414d5ccd2f8c8818920cd8e9a3e7a?s=96&d=mm&r=g\",\"caption\":\"Jeff Matson\"},\"url\":\"https:\/\/www.gravityforms.com\/author\/user59e51636405391-81908773\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","_links":{"self":[{"href":"https:\/\/www.gravityforms.com\/wp-json\/wp\/v2\/posts\/12833"}],"collection":[{"href":"https:\/\/www.gravityforms.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.gravityforms.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.gravityforms.com\/wp-json\/wp\/v2\/users\/204039"}],"replies":[{"embeddable":true,"href":"https:\/\/www.gravityforms.com\/wp-json\/wp\/v2\/comments?post=12833"}],"version-history":[{"count":0,"href":"https:\/\/www.gravityforms.com\/wp-json\/wp\/v2\/posts\/12833\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.gravityforms.com\/wp-json\/wp\/v2\/media\/12663"}],"wp:attachment":[{"href":"https:\/\/www.gravityforms.com\/wp-json\/wp\/v2\/media?parent=12833"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.gravityforms.com\/wp-json\/wp\/v2\/categories?post=12833"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.gravityforms.com\/wp-json\/wp\/v2\/tags?post=12833"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}